package com.engine4cloud.tdf.supervision.dto.create;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

/**
 * 矫正对象个人履历信息-请求对象
 *
 * @author wenjie
 * @date 2024-04-01 14:21:08
 */
@Data
@Schema(description = "矫正对象个人履历信息表")
public class TerminalResumeCreateDTO implements Serializable {
    /**
     * 起日
     */
    @Schema(description = "起日", example = "2024-01-01")
    @NotNull(message = "起日不能为空")
    private LocalDate qs;

    /**
     * 止日
     */
    @Schema(description = "止日", example = "2024-01-01")
    @NotNull(message = "止日不能为空")
    private LocalDate zr;

    /**
     * 所在单位（所在地）
     */
    @Schema(description = "所在单位（所在地）", example = "海南省海口市琼山区椰海大道022号")
    @NotBlank(message = "所在单位不能为空")
    private String szdw;

    /**
     * 职务
     */
    @Schema(description = "职务", example = "[\"10000\",\"10700\"]")
    @NotEmpty(message = "职务不能为空")
    private List<String> positionList;

}